COS

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
 

NAME

cos - cosine function  

SYNOPSIS

Fd #include <math.h> Ft double Fn cos double x Ft float Fn cosf float x  

DESCRIPTION

The Fn cos and Fn cosf functions compute the cosine of Fa x (measured in radians). A large magnitude argument may yield a result with little or no significance. For a discussion of error due to roundoff, see math(3).  

RETURN VALUES

The Fn cos function returns the cosine value.  

SEE ALSO

sin(3), tan(3), asin(3), acos(3), atan(3), atan2(3), sinh(3), cosh(3), tanh(3), math(3)  

STANDARDS

The Fn cos function conforms to St -ansiC .


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
STANDARDS

This document was created by man2html, using the manual pages.
Time: 16:28:58 GMT, April 18, 2022